思前想后: to consider past cause and future effect (idiom); to think over the past and future, to ponder over reasons and connection...